/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lvyh.lightframe.job.admin.dao.entity;

import java.util.Date;

public class JobAlarmConfig {
    private Integer id;

    private String alarmName;

    private Integer alarmType;

    private Integer objectId;

    private String description;

    private String smsLastSendTime;

    private String emailLastSendTime;

    private String smsIntervalTime;

    private String emailIntervalTime;

    private String userContact;

    private Integer handleStatus;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAlarmName() {
        return alarmName;
    }

    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName == null ? null : alarmName.trim();
    }

    public Integer getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Integer alarmType) {
        this.alarmType = alarmType;
    }

    public Integer getObjectId() {
        return objectId;
    }

    public void setObjectId(Integer objectId) {
        this.objectId = objectId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getSmsLastSendTime() {
        return smsLastSendTime;
    }

    public void setSmsLastSendTime(String smsLastSendTime) {
        this.smsLastSendTime = smsLastSendTime == null ? null : smsLastSendTime.trim();
    }

    public String getEmailLastSendTime() {
        return emailLastSendTime;
    }

    public void setEmailLastSendTime(String emailLastSendTime) {
        this.emailLastSendTime = emailLastSendTime == null ? null : emailLastSendTime.trim();
    }

    public String getSmsIntervalTime() {
        return smsIntervalTime;
    }

    public void setSmsIntervalTime(String smsIntervalTime) {
        this.smsIntervalTime = smsIntervalTime == null ? null : smsIntervalTime.trim();
    }

    public String getEmailIntervalTime() {
        return emailIntervalTime;
    }

    public void setEmailIntervalTime(String emailIntervalTime) {
        this.emailIntervalTime = emailIntervalTime == null ? null : emailIntervalTime.trim();
    }

    public String getUserContact() {
        return userContact;
    }

    public void setUserContact(String userContact) {
        this.userContact = userContact == null ? null : userContact.trim();
    }

    public Integer getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(Integer handleStatus) {
        this.handleStatus = handleStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}